package com.ktgj.flight.service;

import java.util.List;
import com.ktgj.flight.domain.FlightOrderIternary;
import com.ktgj.flight.domain.FlightOrderIternaryDTO;
import com.ktgj.flight.domain.vo.FlightOrderIternaryVO;

/**
 * 机票订单行程单Service接口
 * 
 * @author ruoyi
 * @date 2022-01-12
 */
public interface IFlightOrderIternaryService 
{
    /**
     * 查询机票订单行程单
     * 
     * @param invoiceId 机票订单行程单ID
     * @return 机票订单行程单
     */
    public FlightOrderIternary selectFlightOrderIternaryById(Long invoiceId);

    /**
     * 查询机票订单行程单列表
     * 
     * @param flightOrderIternary 机票订单行程单
     * @return 机票订单行程单集合
     */
    public List<FlightOrderIternary> selectFlightOrderIternaryList(FlightOrderIternary flightOrderIternary);

    /**
     * 新增机票订单行程单
     * 
     * @param flightOrderIternary 机票订单行程单
     * @return 结果
     */
    public int insertFlightOrderIternary(String token, FlightOrderIternary flightOrderIternary) throws Exception;

    /**
     * 修改机票订单行程单
     * 
     * @param flightOrderIternary 机票订单行程单
     * @return 结果
     */
    public int updateFlightOrderIternary(FlightOrderIternary flightOrderIternary);

    /**
     * 批量删除机票订单行程单
     * 
     * @param invoiceIds 需要删除的机票订单行程单ID
     * @return 结果
     */
    public int deleteFlightOrderIternaryByIds(Long[] invoiceIds);

    /**
     * 删除机票订单行程单信息
     * 
     * @param invoiceId 机票订单行程单ID
     * @return 结果
     */
    public int deleteFlightOrderIternaryById(Long invoiceId);

    /**
     * 行程单列表
     * @param iternary
     * @return
     */
    public List<FlightOrderIternaryDTO> orderIternaryList(FlightOrderIternaryVO iternary);
}
